package lab02.test04;

import java.util.Scanner;

/**
 * Created by 阿阿阿阿豪丶 on 2017/10/15.
 */
public class Worker {
    String name;
    long number;
    int salary;
    double addsalary;
    double total;

    String getName() {
        this.name = name;
        return name;
    }

    long getNumber() {
        this.number = number;
        return number;
    }

    int getSalary() {
        this.salary = salary;
        return salary;
    }

    double getAddsalary(){
        this.addsalary = addsalary;
        return addsalary;
    }

    double count(int salary,double addsalary){
        total = salary * addsalary;
        return total;
    }
}
